﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="List_Job_Saved.ascx.cs"
    Inherits="TuyenDungViecLam.User_control_VN.List_Job_Saved" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <div class="art-Block">
            <div class="art-Block-tl">
            </div>
            <div class="art-Block-tr">
            </div>
            <div class="art-Block-bl">
            </div>
            <div class="art-Block-br">
            </div>
            <div class="art-Block-tc">
            </div>
            <div class="art-Block-bc">
            </div>
            <div class="art-Block-cl">
            </div>
            <div class="art-Block-cr">
            </div>
            <div class="art-Block-cc">
            </div>
            <div class="art-Block-body">
                <div class="art-BlockHeader">
                    <div class="art-header-tag-icon">
                        <div class="t">
                            Các việc đã lưu</div>
                    </div>
                </div>
                <div class="art-BlockContent" style="padding-left: 0px; padding-right: 0px">
                    <asp:GridView ID="gvdscongviec" runat="server" AutoGenerateColumns="False" Width="100%"
                        CellPadding="0" ForeColor="#333333" GridLines="None" AllowPaging="True" PageSize="1"
                        OnRowCommand="gvdscongviec_RowCommand" OnRowDataBound="gvdscongviec_RowDataBound"
                        OnPageIndexChanging="gvdscongviec_PageIndexChanging">
                        <RowStyle CssClass="RowsGridMain" BackColor="white" ForeColor="#333333" />
                        <Columns>
                            <asp:TemplateField HeaderText="Chức danh" SortExpression="ChucNang">
                                <ItemTemplate>
                                    <asp:LinkButton ID="lbcongviec" CommandName="Link" CommandArgument='<%# Eval("MaCongViec") %>'
                                        runat="server"><%# Eval("ChucDanh") %></asp:LinkButton><br />
                                    <asp:Label ID="lbtrangthai" runat="server" Text='<%# Eval("TrangThai")%>' Visible="false"></asp:Label>
                                    <asp:Label ID="lbmacongviec" runat="server" Visible="false" Text='<%# Eval("MaCongViec") %>'></asp:Label>
                                    <asp:Label ID="lbthongbao" runat="server" ForeColor="Red" Visible="false"></asp:Label>
                                </ItemTemplate>
                                <ItemStyle VerticalAlign="Top" />
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="Công ty" SortExpression="TenCongTy">
                                <ItemTemplate>
                                    <asp:Label ID="lbtencongty" runat="server" Text='<%# Eval("TenCongTy") %>'></asp:Label>
                                </ItemTemplate>
                                <ItemStyle Width="200px" />
                                <ItemStyle VerticalAlign="Top" />
                            </asp:TemplateField>
                            <asp:BoundField HeaderText="Ngày lưu" DataField="NgayDang" DataFormatString="{0:dd/MM/yyyy}"
                                SortExpression="NgayDang">
                                <ItemStyle Width="150px" />
                                <ItemStyle VerticalAlign="Top" />
                            </asp:BoundField>
                            <asp:TemplateField HeaderText="Nộp đơn">
                                <ItemTemplate>
                                    <asp:ImageButton ID="NopDon" runat="server" CommandName="NopDon" ImageUrl="~/images/send-email-icon.png"
                                        CommandArgument='<%# Eval("MaCongTy") %>' OnClientClick="if(!confirm('Bạn muốn nộp đợn cho công ty này ?')) return false;" />
                                    <itemstyle width="100px" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" />
                            </asp:TemplateField>
                            <asp:TemplateField>
                                <HeaderTemplate>
                                    <asp:ImageButton ID="ImageButton1" CommandName="chon" ImageUrl="~/images/Check-icon.png"
                                        OnClientClick="if(!confirm('Chọn tất cả ?')) return false;" runat="server" />
                                </HeaderTemplate>
                                <ItemTemplate>
                                    <asp:CheckBox ID="cbchon" runat="server" />
                                </ItemTemplate>
                                <ItemStyle HorizontalAlign="Center" />
                                <ItemStyle Width="50px" />
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" CssClass="PagingGrid" />
                        <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                        <HeaderStyle CssClass="HeaderGrid" />
                        <AlternatingRowStyle CssClass="RowsGrid" />
                    </asp:GridView>
                </div>
            </div>
        </div>
        <div style="float: right; margin-right: 50px; padding-bottom: 10px; padding-top: 10px">
            <asp:Button ID="Button3" runat="server" Text="Xóa công việc lưu" CssClass="button"
                Style="display: inline" OnClick="Button3_Click" OnClientClick="if(!confirm('Bạn không muốn xóa công việc này không ?')) return false;" /><asp:Button
                    ID="Button4" runat="server" Text="Gửi cho bạn bè" CssClass="button" Style="display: inline;" /></div>
    </ContentTemplate>
</asp:UpdatePanel>
